home *** CD-ROM | disk | FTP | other *** search
/ Palm Utilities / Palm_Utilities_CD-ROM_2001_2001.iso / files / internet misc / GetTLE 1.0 / GetTLE.exe / Src / URLsMemo.h < prev    next >
Encoding:
C/C++ Source or Header  |  2000-04-26  |  1.3 KB  |  36 lines

  1. /*
  2.     GetTLE - URLsMemo.h - headerfile for URLsMemo.c
  3.     Copyright ⌐2000 Andreas Schneider
  4.  
  5.     This program is free software; you can redistribute it and/or modify
  6.     it under the terms of the GNU General Public License as published by
  7.     the Free Software Foundation; either version 2 of the License, or
  8.     (at your option) any later version.
  9.  
  10.     This program is distributed in the hope that it will be useful,
  11.     but WITHOUT ANY WARRANTY; without even the implied warranty of
  12.     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  13.     GNU General Public License for more details.
  14.  
  15.     You should have received a copy of the GNU General Public License
  16.     along with this program; if not, write to the Free Software
  17.     Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
  18. */
  19.  
  20. #ifndef URLsMemoINCLUDED
  21. #define URLsMemoINCLUDED
  22.  
  23. // The URLs Memo must start with this string:
  24. #define URLsMemoHeader "GetTLE\n"
  25.  
  26. #define MAX_SITES 25 // not too big - save memory
  27. #define MAX_SITE_URL_LEN 119 // 1 less than the size of the text filed
  28. #define MAX_SITE_NAME_LEN 60 // some limit
  29.  
  30. extern Char SiteUrls[MAX_SITES][MAX_SITE_URL_LEN+1];
  31. extern Char SiteNames[MAX_SITES][MAX_SITE_NAME_LEN+1];
  32. extern UInt16 NumSites;
  33.  
  34. extern void ReadURLsMemo(void);
  35.  
  36. #endif